.sidebar-pane p {
    text-align: left;
    text-indent: 2em;
    margin-top: 15px;
    margin-left: 10px; margin-right: 10px;
}
.sidebar-pane p.no-indent {
    text-indent: 0;
}
.sidebar-pane p.tight {
    margin-top: 0;
}

.sidebar-pane a.button {
    display: block;
    font-weight: bold;
    text-decoration: none;
    color: black;
}
.userinfo_table {
    margin: 10px;
    border-spacing: 16px 8px;
    table-layout: fixed;
    width: 245px; /* Important */
    font-size: 14px;
}
.userinfo_table td {
    text-align: left;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
}
.userinfo_table td.tlabel {
    width: 60px;
    color: dimgrey;
    text-align: right;
    font-weight: bold;
}

.sidebar-tabs > ul > li > a > span {
    display: none;
}

.sidebar-tabs > ul > li.text_only {
    height: 120px;
    position: relative;
}
.sidebar-tabs > ul > li.text_only > a > i {
    display: none;
}
.sidebar-tabs > ul > li.text_only > a > span {
    display: block;
}
.sidebar-tabs > ul > li.text_only > a {
    position: absolute;
    right: 0; top: 0;
    width: 120px; height: 40px;
    transform: rotate(-90deg);
    transform-origin: 100px 20px 0;
    font-size: 16px; font-weight: normal;
}


.announcement_entry {
    margin: 5px 15px 2px 7px;
    border-radius: 5px;
    background-color: #e6e6e6;
}

.update_log_entry {
    margin: 5px 15px 2px 7px;
    border-radius: 5px;
    background-color: #e6e6e6;
}



#help .helpitem {
    position: relative;
    float: none;
    width: auto; height: 60px;
    margin: 5px 15px 5px 5px;
    overflow:hidden;
}
#help .helpitem i {
    position: absolute;
    font-size: 24px;
    bottom: 18px; left: 18px;
}
#help .helpitem span {
    position: absolute;
    left: 80px; bottom: 18px;
    font-size: 16px; font-weight: bold;
    height: 24px; line-height: 24px;
    width: auto;
    text-align: left;
    display: block;
}


/*右键菜单*/
.leaflet-contextmenu {
    display: none;
	box-shadow: 0 1px 7px rgba(0,0,0,0.4);
	-webkit-border-radius: 4px;
	border-radius: 0 4px 4px 4px;
    padding: 4px 0;
    background-color: #fff;
    cursor: default;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

.leaflet-contextmenu a.leaflet-contextmenu-item {
    display: block;
    color: #222;
    font-size: 14px;
    line-height: 24px;
    text-decoration: none;
    padding: 0 12px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    outline: none;
    text-align: left;
}

.leaflet-contextmenu a.leaflet-contextmenu-item > div {
    margin: 0; padding: 0;
    overflow: hidden;
}

.leaflet-contextmenu a.leaflet-contextmenu-item-disabled {
    opacity: 0.5;
}

.leaflet-contextmenu a.leaflet-contextmenu-item.over {
    background-color: #f4f4f4;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.leaflet-contextmenu a.leaflet-contextmenu-item-disabled.over {
    background-color: inherit;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}

.leaflet-contextmenu-icon {
    margin: 5px 4px 0 0;
    width: 18px;
    height: 18px;
    float: left;
    border: 0;
}

.leaflet-contextmenu-separator {
    border-bottom: 1px solid #ccc;
    margin: 5px 10px;
}

/* Optioner */

.option_group {
    border-radius: 4px;
    border: solid grey 1px;
    margin: 5px;
    position: relative;
}

.option_group .head {
    background-color: #c3c3c3;
    color: dimgrey;
    height: 28px;
    font-size: 14px; font-weight: bold; line-height: 28px;
}

.option_group .head .icon_fold {
    position: absolute;
    left: 0; top: 0;
    width: 28px;
    font-style: normal;
}
.option_group .head .icon_fold::after {
    content: "\25BE";
}

.option_group .altgroups {
    background-color: #eddecc;
    padding: 0; margin: 4px; border-radius: 4px;
}

.dxoption {
    margin: 5px 2px;
    list-style-type: none;
}
.dxoption.altoff {
    display: none;
}

.dxoption span {
    position: relative;
    float: left;
    width: 25%;
    margin-right: 2%;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px; font-weight: bold;
    text-align: left;
    color: grey;
}

.dxoption input, .dxoption textarea, .dxoption .choice_box {
    position: relative;
    float: left;
    width: 72%;
    overflow: hidden;
    font-size: 12px;
    text-align: left; padding-left: 2px;
}

.dxoption textarea {
    max-width: 72%;
    height: 56px;
}

.dxoption .choice_box li {
    list-style-type: none;
    max-width: 120px;
    position: relative;
    float: left;
    background-color: #e6e6e6;
    padding: 0 2px;
    margin: 1px 2px;
    transition: background-color 200ms;
    user-select: none;
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
}
.dxoption .choice_box li:hover {
    background-color: #c3c3c3;
}
.dxoption .choice_box li:active {
    background-color: #2166ac;
}
.dxoption .choice_box li.active {
    background-color: #7cb5ec;
}

.reclist_option > span {
    text-align: left;
}

.reclist_option .table_wrapper {
    position: relative;
    clear: both;
}

.reclist_option .add_rec {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    min-height: 0; max-height: 0;
    background-image: url(images/plus_white.svg);
    background-position: center; background-repeat: no-repeat; background-size: contain;
    transition: background-color 100ms, min-height 100ms, max-height 100ms;
}
.reclist_option .table_wrapper:hover .add_rec {
    min-height: 18px; max-height: 18px;
}
.reclist_option .add_rec:hover {
    background-color: rgba(80, 183, 59, 0.93);
}
.reclist_option .add_rec:active {
    background-color: rgba(18, 153, 22, 1);
}

.option_table {
    border-collapse: collapse;
    width: 100%;
}

.option_table th {
    color: grey;
    background-color: rgba(0, 0, 0, 0.15);
}
.option_table th.tool {
    width: 20px;
}
.option_table th.latlon {
    min-width: 9em;
}
.option_table td {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    /*background-color: rgba(0, 0, 0, 0.1);*/
}
.option_table td[fieldname="id"] {
    max-width: 4em;
}
.option_table td.latlon input {
    font-family: "Homenaje", monospace;
}
.option_table tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.option_table input {
    float: none;
    padding: 0 0 0 0;
    width: 90%; height: 100%;
    text-align: right;
    background-color: transparent;
}
.option_table input:focus {
    padding-left: 2px;
    text-align: left;
    background-color: #d3e6ff;
}

.option_table input[type=checkbox] {
    height: 16px; vertical-align: text-bottom;
}

.option_table td select {
    width: 100%;
    -moz-appearance: none;
    -webkit-appearance: none;
    text-align-last: right; padding: 0 2px;
    color: black; background-color: transparent;
    cursor: pointer;
}
.option_table td select:focus {
    background-color: rgba(144, 191, 228, 0.93);
}
.option_table td select option {
    background-color: rgba(203, 220, 255, 0.93);
}

.option_table td.tool {
    min-height: 0; max-height: 0;
}
.option_table:hover td.tool {
    min-height: 16px; max-height: 16px;
}
.option_table td.tool .delete {
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
    display: none;
    min-height: 0; max-height: 0; border-radius: 4px;
    font-size: 14px; line-height: 14px;
    margin: 2px;
    text-align: center;
    transition: background-color 100ms;
}
.table_wrapper:hover .option_table td.tool .delete {
    display: block;
    min-height: 14px; max-height: 14px;
}
.option_table td.tool .delete:hover {
    background-color: rgba(255, 0, 0, 0.5);
}
.option_table td.tool .delete:active {
    background-color: rgba(255, 0, 0, 1.0);
}
.option_table td.tool .delete::after {
    content: "✖";
}

.reclist_option.transpose .add_rec {
    position: absolute;
    min-height: inherit; max-height: inherit;
    min-width: 0; max-width: 0; height: 100%; right: 0; top: 0;
    margin-left: 2px;
    text-align: center;
}
.reclist_option.transpose .table_wrapper:hover .add_rec {
    min-height: inherit; max-height: inherit;
    min-width: 16px; max-width: 16px;
}
.reclist_option.transpose .option_table {
    width: calc(100% - 20px);
}
.reclist_option.transpose .option_table tr{
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.reclist_option.transpose .option_table th {
    width: 30%;
    padding-left: 10px; text-align: left;
}
.reclist_option.transpose .option_table td:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}
.reclist_option.transpose .option_table tr:nth-child(odd) {
    background-color: inherit;
}


.dxaltgroup {
    margin: 5px 2px;
    list-style-type: none;
}

.dxaltgroup span {
    position: relative;
    float: left;
    width: 25%;
    margin-right: 2%;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px; font-weight: bold;
    text-align: center;
    color: grey;
}

.dxaltgroup .choice_box li {
    list-style-type: none;
    max-width: 120px;
    position: relative;
    float: left;
    background-color: #e6e6e6;
    padding: 0 2px;
    margin: 1px 2px;
    transition: background-color 200ms;
    user-select: none;
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
}
.dxaltgroup .choice_box li:hover {
    background-color: #c3c3c3;
}
.dxaltgroup .choice_box li:active {
    background-color: #32ac30;
}
.dxaltgroup .choice_box li.active {
    background-color: #bcdd75;
}
